// generate secret key
console.log(
  Array.from(new Uint8Array(crypto.getRandomValues(new Uint32Array(32))))
    .map((n) => n.toString(16).padStart(2, "0"))
    .join("")
);
